bitkeeper revision 1.1020.1.1 (40df4b94lJE4UbrmICQf_fatdqMCOw)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Sun, 27 Jun 2004 22:35:00 +0000 (22:35 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Sun, 27 Jun 2004 22:35:00 +0000 (22:35 +0000)
Quieten down console connections. Remove telnet control sequence.

tools/xenmgr/lib/server/console.py

index 6db905dc0b1de6a99d2da5743e46bbb32355fc29..ad5ff59abd7f0b8e25dd6040d042347d547ce31d 100755 (executable)
@@ -36,9 +36,11 @@ class ConsoleProtocol(protocol.Protocol):
             self.loseConnection()
             return
         else:
-            self.transport.write("Connected to console %d on domain %d\n"
-                                 % (self.idx, self.controller.dom))
-            self.setTelnetTransmitBinary()
+            # KAF: A nice quiet successful connect. Don't bother with telnet
+            # control sequence -- telnet is not the appropriate protocol here. 
+            #self.transport.write("Connected to console %d on domain %d\n"
+            #                     % (self.idx, self.controller.dom))
+            #self.setTelnetTransmitBinary()
             eserver.inject('xend.console.connect',
                            [self.idx, self.addr[0], self.addr[1]])